Jan Alexander Steffens (heftig) [Wed, 5 Sep 2018 19:46:28 +0000 (21:46 +0200)]
GtkApplication: Fix CRITICAL on shutdown when register_session=FALSE
Marek Cernocky [Tue, 4 Sep 2018 09:09:06 +0000 (11:09 +0200)]
Updated Czech translation
Matthias Clasen [Mon, 3 Sep 2018 16:41:53 +0000 (12:41 -0400)]
3.24.0
Efstathios Iosifidis [Mon, 3 Sep 2018 10:46:15 +0000 (10:46 +0000)]
Update Greek translation
Anders Jonsson [Sun, 2 Sep 2018 23:14:29 +0000 (23:14 +0000)]
Update Swedish translation
Ask Hjorth Larsen [Sun, 2 Sep 2018 21:46:11 +0000 (23:46 +0200)]
Updated Danish translation of gtk-properties
Ask Hjorth Larsen [Sun, 2 Sep 2018 21:45:24 +0000 (23:45 +0200)]
Updated Danish translation of gtk
Ask Hjorth Larsen [Sun, 2 Sep 2018 21:19:34 +0000 (23:19 +0200)]
Updated Danish translation of gtk
gogo [Sun, 2 Sep 2018 21:16:16 +0000 (21:16 +0000)]
Update Croatian translation
Ask Hjorth Larsen [Sun, 2 Sep 2018 19:42:45 +0000 (21:42 +0200)]
Updated Danish translation of gtk-properties
gogo [Sun, 2 Sep 2018 18:38:45 +0000 (18:38 +0000)]
Update Croatian translation
Balázs Meskó [Sun, 2 Sep 2018 17:17:54 +0000 (17:17 +0000)]
Update Hungarian translation
Balázs Meskó [Sun, 2 Sep 2018 17:12:37 +0000 (17:12 +0000)]
Update Hungarian translation
Fran Dieguez [Sat, 1 Sep 2018 13:00:28 +0000 (13:00 +0000)]
Update Galician translation
Piotr Drąg [Fri, 31 Aug 2018 17:46:22 +0000 (19:46 +0200)]
Update Polish translation
Rūdolfs Mazurs [Fri, 31 Aug 2018 16:58:13 +0000 (16:58 +0000)]
Update Latvian translation
Milo Casagrande [Fri, 31 Aug 2018 14:51:30 +0000 (14:51 +0000)]
Update Italian translation
Mario Blättermann [Fri, 31 Aug 2018 13:03:16 +0000 (13:03 +0000)]
Update German translation
Rafael Fontenelle [Fri, 31 Aug 2018 12:52:14 +0000 (12:52 +0000)]
Update Brazilian Portuguese translation
Emin Tufan Çetin [Fri, 31 Aug 2018 10:58:24 +0000 (10:58 +0000)]
Update Turkish translation
Kukuh Syafaat [Fri, 31 Aug 2018 03:23:08 +0000 (03:23 +0000)]
Update Indonesian translation
Matthias Clasen [Thu, 30 Aug 2018 05:06:51 +0000 (01:06 -0400)]
GtkApplication: track screensaver state
A number of applications want to track the state of the screensaver.
Make this information available as a boolean property. We only listen
for state changes when ::register-session is set to TRUE.
This is implemented for unsandboxed D-Bus access by talking
directly to org.gnome.ScreenSaver or org.freedesktop.ScreenSaver,
and for sandboxed D-Bus by using a (new) portal API.
A Quartz implementation is missing.
Matthias Clasen [Thu, 30 Aug 2018 20:38:03 +0000 (16:38 -0400)]
GtkApplication: Respect GTK_USE_PORTAL
When the environment variable is set, don't connect
to the session manager, but instead rely on the
inhibit portal.
Matthias Clasen [Thu, 30 Aug 2018 17:13:45 +0000 (13:13 -0400)]
file chooser portal: use request path utilities
Less code duplication, more sticky toffee!
Matthias Clasen [Thu, 30 Aug 2018 17:12:18 +0000 (13:12 -0400)]
print portal: use request path utilities
Less code duplication, more cookies!
Matthias Clasen [Thu, 30 Aug 2018 17:11:51 +0000 (13:11 -0400)]
color picker portal: Add request path utility
Less code duplication, more cake!
Matthias Clasen [Thu, 30 Aug 2018 17:05:55 +0000 (13:05 -0400)]
Add utility functions for portal paths
The paths that we create for requests and sessions
need some icky code to create. Keep it in one place.
Fran Dieguez [Thu, 30 Aug 2018 17:42:44 +0000 (17:42 +0000)]
Update Galician translation
Marek Cernocky [Thu, 30 Aug 2018 14:49:53 +0000 (16:49 +0200)]
Updated Czech translation
Marek Cernocky [Thu, 30 Aug 2018 12:44:13 +0000 (14:44 +0200)]
Updated Czech translation
Milo Casagrande [Thu, 30 Aug 2018 12:24:38 +0000 (12:24 +0000)]
Update Italian translation
Tim Sabsch [Thu, 30 Aug 2018 08:31:13 +0000 (08:31 +0000)]
Update German translation
Fran Dieguez [Wed, 29 Aug 2018 21:49:56 +0000 (21:49 +0000)]
Update Galician translation
Claude Paroz [Wed, 29 Aug 2018 21:01:15 +0000 (23:01 +0200)]
Updated French translation
Aurimas Černius [Wed, 29 Aug 2018 19:22:58 +0000 (22:22 +0300)]
Updated Lithuanian translation
Emin Tufan Çetin [Wed, 29 Aug 2018 16:35:23 +0000 (16:35 +0000)]
Update Turkish translation
Fran Dieguez [Wed, 29 Aug 2018 11:11:45 +0000 (11:11 +0000)]
Update Galician translation
Kukuh Syafaat [Wed, 29 Aug 2018 05:28:52 +0000 (05:28 +0000)]
Update Indonesian translation
Matthias Clasen [Tue, 28 Aug 2018 20:52:44 +0000 (16:52 -0400)]
3.23.3
Rafael Fontenelle [Tue, 28 Aug 2018 22:32:57 +0000 (22:32 +0000)]
Update Brazilian Portuguese translation
Anders Jonsson [Tue, 28 Aug 2018 21:10:24 +0000 (21:10 +0000)]
Update Swedish translation
Matthias Clasen [Tue, 28 Aug 2018 20:14:16 +0000 (20:14 +0000)]
Merge branch 'app-private-recent-list' into 'gtk-3-24'
FileChooserWidget: Don't show recent items with private hint set
See merge request GNOME/gtk!172
Kai Willadsen [Tue, 28 Aug 2018 20:14:16 +0000 (20:14 +0000)]
FileChooserWidget: Don't show recent items with private hint set
Matthias Clasen [Tue, 28 Aug 2018 20:10:04 +0000 (20:10 +0000)]
Merge branch 'gtk-3-24.win.updated' into 'gtk-3-24'
Fix pre-C99 builds of the gtk-3-24 branch
See merge request GNOME/gtk!310
Matthias Clasen [Tue, 28 Aug 2018 19:27:24 +0000 (19:27 +0000)]
Merge branch 'fix-warning-combobox-destroy' into 'gtk-3-24'
Fix warning on GtkComboBox destroy
See merge request GNOME/gtk!311
Piotr Drąg [Tue, 28 Aug 2018 16:48:15 +0000 (18:48 +0200)]
Update Polish translation
Luca Bacci [Tue, 28 Aug 2018 16:39:05 +0000 (18:39 +0200)]
Check for NULL priv->popup_window in gtk_combo_box_popdown()
Fixes issue #125
Matthias Clasen [Tue, 28 Aug 2018 16:24:13 +0000 (12:24 -0400)]
Fix a typo
Its Hieroglyphs!
Closes: #1292
Changwoo Ryu [Tue, 28 Aug 2018 15:53:18 +0000 (15:53 +0000)]
Update Korean translation
Chun-wei Fan [Tue, 28 Aug 2018 09:30:12 +0000 (17:30 +0800)]
demos/gtk-demo/paint.c: Fix build on pre-C99
Use a const GdkRGBA to replace the compound literal use.
Chun-wei Fan [Tue, 28 Aug 2018 09:28:23 +0000 (17:28 +0800)]
gtk/gtkeventcontrollerscroll.c: Include fallback-c89.c
... instead of just math.h, as it uses the C99 function trunc(). This
is so that the code builds on pre-C99 compilers.
Chun-wei Fan [Tue, 28 Aug 2018 09:22:13 +0000 (17:22 +0800)]
gtk/fallback-c89.c: Add C89 fallback for trunc()
Check for trunc() during configure and provide a fallback implementation
for it if it is not found.
Rafael Fontenelle [Tue, 28 Aug 2018 03:39:09 +0000 (03:39 +0000)]
Update Brazilian Portuguese translation
Rafael Fontenelle [Tue, 28 Aug 2018 02:56:52 +0000 (02:56 +0000)]
Update Brazilian Portuguese translation
Changwoo Ryu [Mon, 27 Aug 2018 14:12:09 +0000 (14:12 +0000)]
Update Korean translation
Milo Casagrande [Mon, 27 Aug 2018 08:02:19 +0000 (08:02 +0000)]
Update Italian translation
Matthias Clasen [Sun, 26 Aug 2018 23:48:26 +0000 (23:48 +0000)]
Merge branch 'clear_preedit' into 'gtk-3-24'
Clear preedit when a text input loses focus
See merge request GNOME/gtk!302
Matthias Clasen [Sun, 26 Aug 2018 22:57:39 +0000 (18:57 -0400)]
Deprecate GtkRange::upper/lower-stepper-sensitivity
These properties have been removed in GTK+ 4.
Deprecate them here.
Kukuh Syafaat [Sun, 26 Aug 2018 13:43:56 +0000 (13:43 +0000)]
Update Indonesian translation
Kukuh Syafaat [Sun, 26 Aug 2018 13:43:26 +0000 (13:43 +0000)]
Update Indonesian translation
Baurzhan Muftakhidinov [Sat, 25 Aug 2018 17:27:26 +0000 (17:27 +0000)]
Update Kazakh translation
Baurzhan Muftakhidinov [Sat, 25 Aug 2018 17:26:55 +0000 (17:26 +0000)]
Update Kazakh translation
Baurzhan Muftakhidinov [Sat, 25 Aug 2018 17:26:07 +0000 (17:26 +0000)]
Update Kazakh translation
Christian Kirbach [Sat, 25 Aug 2018 10:48:51 +0000 (10:48 +0000)]
Update German translation
Dorota Czaplejewicz [Thu, 23 Aug 2018 10:32:11 +0000 (12:32 +0200)]
imwayland: clear preedit on focus out
Benjamin Otte [Wed, 22 Aug 2018 17:48:20 +0000 (19:48 +0200)]
Don't deprecate gtk_widget_show_all()
After discussions on IRC, the conclusion was reached that deprecations
only make sense if an action can be taken to not use the deprecated code
that makes the code more current and simplifies a later port to a newer
GTK version.
In this particular case, the suitable action would be adding
gtk_widget_show() calls whenever a widget is created, so that a call to
show_all() is not necessary.
However, in GTK4 these calls would not be necessary and end up just
bloating the codebase unnecessarily.
So it was decided the better solution would be to not deprecate the API
and instead leave this work to be done during potential GTK4 ports of
applications.
This reverts commit
4d71d2303dafe1c02eb79040e32fe2172d1f295f.
Fixes !1282
Cheng-Chia Tseng [Tue, 21 Aug 2018 16:23:16 +0000 (16:23 +0000)]
Update Chinese (Taiwan) translation
Cheng-Chia Tseng [Tue, 21 Aug 2018 16:15:54 +0000 (16:15 +0000)]
Update Chinese (Taiwan) translation
Rico Tzschichholz [Mon, 20 Aug 2018 14:57:54 +0000 (16:57 +0200)]
gesturestylus: Add missing array g-i annotation for *_get_axes params
Bruce Cowan [Sun, 19 Aug 2018 16:50:48 +0000 (16:50 +0000)]
Update British English translation
Matthias Clasen [Sat, 18 Aug 2018 20:44:24 +0000 (20:44 +0000)]
Merge branch 'win32-scroll-deltas' into 'gtk-3-24'
GDK W32: Support smooth scrolling
See merge request GNOME/gtk!292
Tim Sabsch [Sat, 18 Aug 2018 15:41:45 +0000 (15:41 +0000)]
Update German translation
Jordi Mas [Sat, 18 Aug 2018 06:29:58 +0000 (08:29 +0200)]
Update Catalan translation
Jordi Mas [Sat, 18 Aug 2018 06:23:10 +0000 (08:23 +0200)]
Update Catalan translation
Iain Lane [Mon, 13 Aug 2018 12:52:41 +0000 (13:52 +0100)]
colorpickershell: Unpack the tuple returned from PickColor()
When calling PickColor on org.gnome.Shell, we get back an "a{sv}", which
GDBus provides to us as "(a{sv})".
At the minute we're not unpacking this tuple, and so picking fails with
messages like:
GLib-CRITICAL **: 13:38:19.439: g_variant_lookup_value: assertion 'g_variant_is_of_type (dictionary, G_VARIANT_TYPE ("a{s*}")) || g_variant_is_of_type (dictionary, G_VARIANT_TYPE ("a{o*}"))' failed
Gtk-WARNING **: 13:38:19.439: Picking color failed: No color received
Let's unpack it.
Ricardo Silva Veloso [Fri, 17 Aug 2018 08:32:13 +0000 (08:32 +0000)]
Update Brazilian Portuguese translation
Matthias Clasen [Wed, 15 Aug 2018 22:02:45 +0000 (22:02 +0000)]
Merge branch 'fix-shifted-scrolling-gtk3' into 'gtk-3-24'
gtkscrolledwindow: Consider shift key presses when decelerating [gtk3]
See merge request GNOME/gtk!287
Matthias Clasen [Wed, 15 Aug 2018 22:01:20 +0000 (22:01 +0000)]
Merge branch 'wip/tooltip-move-to-rect' into 'gtk-3-24'
Make tooltips use gdk_window_move_to_rect()
See merge request GNOME/gtk!293
Jonas Ådahl [Tue, 14 Aug 2018 17:52:59 +0000 (17:52 +0000)]
Merge branch 'wip/carlosg/issue-844' into 'gtk-3-24'
gdk/wayland: Avoid idempotent wl_subsurface.set_position calls
See merge request GNOME/gtk!294
Carlos Garnacho [Thu, 5 Oct 2017 23:06:03 +0000 (01:06 +0200)]
gdk/wayland: Avoid idempotent wl_subsurface.set_position calls
These may not result on wl_surface.frame callbacks, yet we do trigger
a frame clock tick that would get stuck on the lack of such callback.
https://bugzilla.gnome.org/show_bug.cgi?id=784314
https://gitlab.gnome.org/GNOME/gtk/issues/844
Closes: #844
Claude Paroz [Tue, 14 Aug 2018 11:41:09 +0000 (13:41 +0200)]
Updated French translation
Emin Tufan Çetin [Sun, 12 Aug 2018 11:07:37 +0000 (11:07 +0000)]
Update Turkish translation
Emin Tufan Çetin [Sun, 12 Aug 2018 10:27:10 +0000 (10:27 +0000)]
Update Turkish translation
Emin Tufan Çetin [Sun, 12 Aug 2018 10:21:06 +0000 (10:21 +0000)]
Update Turkish translation
Yi-Jyun Pan [Sun, 12 Aug 2018 10:08:50 +0000 (10:08 +0000)]
Update Chinese (Taiwan) translation
Piotr Drąg [Sat, 11 Aug 2018 21:57:28 +0000 (23:57 +0200)]
Update Polish translation
Aurimas Černius [Sat, 11 Aug 2018 15:09:03 +0000 (18:09 +0300)]
Updated Lithuanian translation
Jonas Ådahl [Fri, 10 Aug 2018 15:11:46 +0000 (17:11 +0200)]
tooltip: Implement positioning using gdk_window_move_to_rect()
In order to make tooltip positioning portable, make use of the
move_to_rect API. Some semantical changes are made, as identical
semantics cannot be implemented using the move-to-rect API.
Primarily the implemented semantics are:
Position the tooltip in the center pixels slightly below (defaults to 4
units below) the tooltipped widget. This is always the case for keyboard
driven tooltips; the case where it tries to avoid the pointer cursor is
not implemented.
For pointer position triggered tooltips, implement the following
additional semantics:
Use the current cursor size to determine the padding used to enlarge the
anchor rectangle. This is to try to avoid the cursor overlapping the
tooltip.
If the anchor rectangle is too tall (meaning if we'd be constrained
and flip on the Y axis, it'd flip too far away from the originally
intended position), rely only on the pointer position to position the
tooltip. The approximate pointer cursor rectangle is used as a anchor
rectangle. Ideally we should use the actual pointer cursor rectangle
(image used as well as hotspot coordinate), but we don't have API to
get that information.
If the anchor rectangle isn't to tall, just make sure the tooltip isn't
too far away from the pointer position on the X axis.
Closes: #134
Closes: #432
Closes: #574
Closes: #579
Closes: #878
Jonas Ådahl [Fri, 10 Aug 2018 15:10:16 +0000 (17:10 +0200)]
gdk/wayland: Always map windows 'moved-to-rect' as popups
Only popups can make use of the move-to-rect semantics so it makes no
sense to try anything other surface type.
Jonas Ådahl [Fri, 10 Aug 2018 15:07:05 +0000 (17:07 +0200)]
gdk/wayland: Don't remap non-subsurface as subsurface
Let's just use the fact that a window was mapped as a subsurface to
remap it above another transient parent instead of relying on the more
complicated 'should-map-as-subsurface' helper function.
Claude Paroz [Thu, 9 Aug 2018 10:37:29 +0000 (10:37 +0000)]
Update French translation
Matthias Clasen [Wed, 8 Aug 2018 09:18:32 +0000 (09:18 +0000)]
Merge branch 'gtk-3-24-improve-error-message' into 'gtk-3-24'
gtkplacessidebar: Improve error message when unlocking volume fails
See merge request GNOME/gtk!266
Руслан Ижбулатов [Tue, 7 Aug 2018 21:29:21 +0000 (21:29 +0000)]
GDK W32: Support smooth scrolling
Set delta_x or delta_y for GdkScrollEvent.
HIWORD (wParam) in WM_MOUSE(H)WHEEL is the scroll delta.
A delta value of WHEEL_DELTA (which is 120) means scrolling
one full unit of something (for example, a line).
The delta should also be multiplied by the value that the
SystemParametersInfo (SPI_GETWHEELSCROLL(LINES|CHARS), 0, &value, 0)
call gives back, unless it gives back 0xffffffff, in which case
it indicates that scrolling is page- or screen-based, not line-based
(GDK doesn't support that at the moment).
Also, all deltas should be inverted, since MS sends negative deltas
when scrolling down (rotating the wheel back, in the direction of
the user).
With deltas set the mode should be set to GDK_SCROLL_SMOOTH.
Fixes issue 1263.
Baurzhan Muftakhidinov [Mon, 6 Aug 2018 17:16:43 +0000 (17:16 +0000)]
Update Kazakh translation
Piotr Drąg [Mon, 6 Aug 2018 16:55:14 +0000 (18:55 +0200)]
Update Polish translation
Matthias Clasen [Mon, 6 Aug 2018 12:14:29 +0000 (12:14 +0000)]
Merge branch 'gtk-3-24-fix-link-error' into 'gtk-3-24'
font chooser widget: Add missing build flags
See merge request GNOME/gtk!290
Kouhei Sutou [Mon, 6 Aug 2018 07:15:48 +0000 (16:15 +0900)]
font chooser widget: Add missing build flags
If we detect HarfBuzz and PangoFT2, GtkFontChooserWidget uses them. So
we need to add CFLAGS and LIBS of them to GTK_DEP_CFLAGS/LIBS. If we
don't add them, MinGW build fails to link.
Aurimas Černius [Sun, 5 Aug 2018 13:02:30 +0000 (16:02 +0300)]
Updated Lithuanian translation
Matthias Clasen [Sun, 5 Aug 2018 01:39:10 +0000 (21:39 -0400)]
Make color picker circular
The need for center alignment was pointed out by Timm Baeder.
Matthias Clasen [Fri, 3 Aug 2018 00:55:07 +0000 (20:55 -0400)]
color picker: Also try kwin
use a kwin color picker when we run under kwin.